﻿<br />
<div class="code">
&#64;model&nbsp;Location<br />
<br />
&lt;h1&nbsp;&#64;Html.KoAttrText(m&nbsp;=&gt;&nbsp;m.City)&gt;&nbsp;&lt;/h1&gt;<br />
&#64;{<br />
&nbsp;&nbsp;&nbsp;&nbsp;<span class="Linq">var</span>&nbsp;withItem&nbsp;=&nbsp;Html.KoAttrWith(m&nbsp;=&gt;&nbsp;m.Coords);<br />
&lt;p&nbsp;&#64;withItem&gt;<br />
&nbsp;&nbsp;&nbsp;&nbsp;Latitude:&nbsp;&lt;span&nbsp;&#64;withItem.KoAttrText(m&nbsp;=&gt;&nbsp;m.Latitude)&gt;&nbsp;&lt;/span&gt;,<br />
&nbsp;&nbsp;&nbsp;&nbsp;Longitude:&nbsp;&lt;span&nbsp;&#64;withItem.KoAttrText(m&nbsp;=&gt;&nbsp;m.Longitude)&gt;&nbsp;&lt;/span&gt;<br />
&lt;/p&gt;<br />
}<br />
<br />
<br />
&#64;Model.ApplyBindingsScript(KoBindingOptions.IncludeData)
</div>